package vn.bus.controllers;

import javax.ws.rs.GET;
import javax.ws.rs.Path;

import vn.bus.service.TimetableService;

@Path("/json/timetable")
public class TimetableController {

	@GET
	public String getAllTimetables()
	{
		TimetableService timetablesService = new TimetableService();
		return timetablesService.getAllTimetables();
	}
}
